Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

add opencv support to Dockerfile #183

Merged
merged 2 commits into from
Nov 22, 2018
Merged

add opencv support to Dockerfile #183

merged 2 commits into from
Nov 22, 2018

Conversation

keineahnung2345
Copy link
Contributor

cv2 is used by predictor.py, so it's required

cv2 is used by predictor.py, so it's required
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Nov 20, 2018
@fmassa
Copy link
Contributor

fmassa commented Nov 20, 2018

cc. @miguelvr

@miguelvr
Copy link
Contributor

I would prefer just to keep it in conda, as it reduces the boilerplate and guarantees a correct installation

docker/Dockerfile Outdated Show resolved Hide resolved
@keineahnung2345
Copy link
Contributor Author

@miguelvr I have changed to conda. But I wonder why you install ninja, yacs, cython, matplotlib through pip?

@fmassa
Copy link
Contributor

fmassa commented Nov 22, 2018

@keineahnung2345 that's the default requirements for the installation for those libs, and is what we recommend in the installation.

@miguelvr
Copy link
Contributor

@keineahnung2345 basically I just put it as in the INSTALL.md for clarity.

The benefit of installing opencv through conda is just to avoid the clutter of all the dependencies it has

@fmassa fmassa merged commit 43cb539 into facebookresearch:master Nov 22, 2018
nprasad2021 pushed a commit to nprasad2021/maskrcnn-benchmark that referenced this pull request Jan 29, 2019
* add opencv support to Dockerfile

cv2 is used by predictor.py, so it's required

* install opencv-python from conda
@keineahnung2345 keineahnung2345 deleted the dockerfile-cv2 branch April 30, 2020 13:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants